.w-toolbar {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  padding: (2 * $base-increment) (3 * $base-increment);
  background-color: #fff;
  z-index: 10;

  &--absolute,
  &--fixed {
    top: 0;
    left: 0;
    right: 0;
  }
  &--absolute {
    position: absolute;
  }
  &--fixed {
    position: fixed;
  }
  &--top {
    border-bottom: $border;
  }
  &--bottom {
    bottom: 0;
    top: auto;
    border-top: $border;
  }
  &--no-border,
  &--shadow {
    border-top-width: 0;
    border-bottom-width: 0;
  }
  &--shadow {
    box-shadow: $box-shadow;
  }

  .w-app > & {
    z-index: 200;
  }

  // In w-card.
  .w-card__title & {
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
  }
  .w-card__actions & {
    border-bottom-left-radius: inherit;
    border-bottom-right-radius: inherit;
  }
}
